package cn.elwy.rcp.core.model.ui;

import java.io.Serializable;

public class DialogInfo implements Serializable {

  private static final long serialVersionUID = 1L;

  private String id;
  private String name;
  private int style;
  private String type;
  private boolean isCenter;
  private boolean maximized;
  private int x;
  private int y;
  private int width;
  private int height;
  private int minimumWidth;
  private int minimumHeight;

  private boolean canCustomConfig;
  private boolean canSetting;
  private boolean canEditor;
  private boolean canSave;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public int getStyle() {
    return style;
  }

  public void setStyle(int style) {
    this.style = style;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public boolean isCenter() {
    return isCenter;
  }

  public void setCenter(boolean isCenter) {
    this.isCenter = isCenter;
  }

  public boolean isMaximized() {
    return maximized;
  }

  public void setMaximized(boolean maximized) {
    this.maximized = maximized;
  }

  public int getX() {
    return x;
  }

  public void setX(int x) {
    this.x = x;
  }

  public int getY() {
    return y;
  }

  public void setY(int y) {
    this.y = y;
  }

  public int getWidth() {
    return width;
  }

  public void setWidth(int width) {
    this.width = width;
  }

  public int getHeight() {
    return height;
  }

  public void setHeight(int height) {
    this.height = height;
  }

  public int getMinimumWidth() {
    return minimumWidth;
  }

  public void setMinimumWidth(int minimumWidth) {
    this.minimumWidth = minimumWidth;
  }

  public int getMinimumHeight() {
    return minimumHeight;
  }

  public void setMinimumHeight(int minimumHeight) {
    this.minimumHeight = minimumHeight;
  }

  public boolean isCanCustomConfig() {
    return canCustomConfig;
  }

  public void setCanCustomConfig(boolean canCustomConfig) {
    this.canCustomConfig = canCustomConfig;
  }

  public boolean isCanSetting() {
    return canSetting;
  }

  public void setCanSetting(boolean canSetting) {
    this.canSetting = canSetting;
  }

  public boolean isCanEditor() {
    return canEditor;
  }

  public void setCanEditor(boolean canEditor) {
    this.canEditor = canEditor;
  }

  public boolean isCanSave() {
    return canSave;
  }

  public void setCanSave(boolean canSave) {
    this.canSave = canSave;
  }

}
